﻿using MediatR;
using SmartProduction.Domain;
using SmartProduction.ErrorCode;

namespace SmartProduction.Read.API.Application.Commands.BomCommand
{
    public class BomQueryCommand:IRequest<APIResult<APIPaing<Bom>>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 每页条数
        /// </summary>
        public int PageSize { get; set; } = 15;
        /// <summary>
        /// BOM编码
        /// </summary>
        public string? BomNode {  get; set; }
        /// <summary>
        /// 成品名称
        /// </summary>
        public string? FinishedName { get; set; }
    }
}
